home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm)))) ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm))))
-
-
-
- NNNNAAAAMMMMEEEE
- scsicontrol - probe and control scsi devices
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////ssssbbbbiiiinnnn////ssssccccssssiiiiccccoooonnnnttttrrrroooollll [[[[----CCCCDDDDHHHHIIIISSSSaaaaccccddddeeeeggggiiiillllmmmmqqqqssssvvvv]]]] [[[[----bbbb bbbblllloooocccckkkkiiiizzzzeeee]]]] _d_e_v_i_c_e ...
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _s_c_s_i_c_o_n_t_r_o_l may be used to print info from the SCSI inquiry commands,
- which normally indicate the device type, manufacturer, and similar info.
- Other options may be used show more data, or to issue commands that
- control the operation of the device, or the bus as a whole. By using the
- debug option (----dddd), the exact command sent, and the data returned (if any)
- is displayed, along with more extensive error information.
-
- The device(s) may be specified without the normal /_d_e_v/_s_c_s_i prefix, if
- desired.
-
- ----CCCC Send the SGI-specific command that causes the CD-ROM drive to reply
- to the inquiry command (see ----iiii below) as a CD-ROM drive. On
- poweron, or after a SCSI bus reset (either as part of error recovery
- or from a user issued command), the CD-ROM drives sold by SGI
- respond to inquiry as a hard disk. This was done because older
- systems would otherwise refuse to boot from the CD-ROM drive.
-
- ----DDDD Send the SCSI self test (diagnostic) command to the device.
-
- ----HHHH Send the SCSI halt, or stop, command. This causes the device to
- stop the media, or in some cases, to unload it.
-
- ----SSSS Send the SCSI start, or load, command. This causes the device to
- start the media, or in some cases, to load it.
-
- ----aaaa Attempt to negotiate with the device to operate in asynchronous
- mode. This will usually mean a lower data rate on the SCSI bus, but
- is less sensitive to scsi cabling problems, etc. Some devices will
- negotiate synchronous mode, but may not work correctly in that mode.
- This can also be forced by changing the configuration variables for
- the scsi controller driver (e.g., the _w_d_9_3__s_y_n_c_e_n_a_b_l_e array in the
- file /_v_a_r/_s_y_s_g_e_n/_m_a_s_t_e_r._d/_w_d_9_3). Also see the ----ssss option below.
-
- ----dddd Debug mode. This causes all commands sent to the device and the
- data that is returned, if any, to be printed. Extensive information
- about errors is also printed when they occur.
-
- ----eeee Open the device in exclusive mode. This will fail (with busy
- status) if the device is in use by some other process or SCSI
- driver. If it succeeds, other opens will then fail. This mode
- applies to the host controller driver, and does not issue any SCSI
- commands to the device (in particular, the reserve unit command is
- not sent).
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm)))) ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm))))
-
-
-
- ----gggg Get the host adapter flags for this SCSI bus. This is mostly of
- interest to driver writer's, but it does provide a way to determine
- if the SCSI disconnect option has been disabled on the bus.
-
- ----iiii Send the SCSI inquiry command, and display the info in a readable
- fashion. The information typically includes the device type, the
- manufacturer, the SCSI version, and some of the optional SCSI
- features the device supports. Also see ----IIII below.
-
- ----IIII display all the data from the ----iiii or ----vvvv options in both hex and ascii
- form. Implies ----iiii if neither ----iiii or ----vvvv were given on the command
- line.
-
- ----qqqq Quiet mode. Don't print the name of each device as it is opened,
- unless an error occurs.
-
- ----ssss Attempt to negotiate with the device to operate in synchronous mode.
- This is normally done by the operating system when the device is
- first used, but that may fail, and the system will not then re-
- attempt to negotiate. Some drivers will suppress the negotiation.
- Operating in synchronous mode will usually mean a higher data rate
- on the SCSI bus, but this mode is more sensitive to SCSI cabling
- problems. Additionally, some devices will negotiate successfully
- for this mode, but will not work correctly. Also see the ----aaaa option
- above.
-
- ----vvvv Issue the SCSI iiiinnnnqqqquuuuiiiirrrryyyy command with the vital products modifier, and
- display the data in a readable fashion. The vital product data
- often includes the serial number, and the additional information
- about the device. Also see ----IIII above.
-
- ----cccc bbbblllloooocccckkkkssssiiiizzzzeeee
- For devices that support the readcapacity command, print the
- capacity of the device, and if it's block oriented, the number of
- bytes per block.
-
- ----bbbb bbbblllloooocccckkkkssssiiiizzzzeeee
- Set the blocksize (for disks, CDROMs, and some types of tape drives)
- to the given value, and also report the previous value. bbbblllloooocccckkkkssssiiiizzzzeeee
- may be given in decimal, hex (with leading 0x), or octal (with
- leading 0). Not all devices support changing their block size.
-
- ----llll Print the current values of all the supported logsense pages. This
- can sometimes be useful in debugging device problems, but almost
- always requires the device specific manual from it's manufacturer,
- to be of use.
-
- ----mmmm Print the current values of all the supported modesense pages.
- Mostly of use to people debugging problems or writing devscsi
- drivers.
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm)))) ssssccccssssiiiiccccoooonnnnttttrrrroooollll((((1111mmmm))))
-
-
-
- FFFFIIIILLLLEEEESSSS
- /dev/scsi/sc* - the generic scsi driver devices /dev/scsi/jag* - the
- generic scsi driver devices
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- dsopen(3X), ds(7M), scsiha(1M), scsiha(7M).
-
- NNNNOOOOTTTTEEEE
- This command is normally usable only by the superuser, because the
- standard permissions of the devices in /dev/scsi restrict access to other
- users.
-
- The source to this program is also shipped as sample source code in the
- iiiirrrriiiixxxx____ddddeeeevvvv....ggggiiiiffffttttssss....ssssccccssssiiii subsystem as part of _IIII_DDDD_OOOO.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-